<div class="layui-card-header layui-card">
    <span class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">首页</a>
        <a><cite>代付接口文档</cite></a>
    </span>
</div>
<link rel="stylesheet" href="/css/markdown.css" charset="utf-8">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-tab layui-tab-brief">
            <input hidden class='downAccessToken'/>
            <div class="layui-tab layui-tab-brief">
                <ul class="layui-tab-title">
                    <li class="layui-this">代付接口文档</li>
                </ul>
                <div class="layui-tab-content">
                    <div id="doc" class="layui-markdown" style="text-align: left; background-color: white; padding: 0px 0px 20px 20px; "></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>

    layui.use(['util','admin'], function(){
        var $ = layui.$
            ,admin = layui.admin
            ,element = layui.element;
        element.render('breadcrumb', 'breadcrumb');//渲染导航信息
        admin.req({
            type: 'get',
            url: layui.setter.baseUrl + '/paydoc/get',
            data: {
                type: 'agentpayApiDoc',
            },
            error: function(err){
                layer.alert(err);
            },
            success: function(res){
                if(res.code == 0){
                    $("#doc").html(res.data);
                }else {
                    layer.alert(res.msg,{title:'请求数据失败'});
                }
            }
        })
    });

</script>





